package com.yatb.trac.pojo.condition;

import java.math.BigDecimal;

import org.hibernate.criterion.Criterion;
import org.hibernate.criterion.Restrictions;

import com.yatb.trac.util.SQLCondition;

public class FindSocietaById implements SQLCondition {
	private String idCliente = null; 
	public FindSocietaById(String idCliente) {
		this.idCliente = idCliente;
	}
	public Criterion create(Object... params) {
		Criterion c = Restrictions.eq("idCliente", new BigDecimal(this.idCliente));
		return c;
	}

}
